<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>margin负值的巧妙运用</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .box {
            width: 200px;
            height: 100px;
            border: 2px solid red;
        }
        .pic img{
            float: left;
            width: 100px;
            height: 100px;
        }
    </style>
</head>
<body>
    <div class="box">
        <div class="pic">
            <img src="img/pic.jpg" alt="">
        </div>
        <p>1234567890 zhang san li si wang wu zhao liu </p>
    </div>
</body>
</html>